package com.rfchina.okr.xianren.controller.api;

import com.jfinal.config.Routes;

public class XianrenApiRoutes extends Routes {

	@Override
	public void config() {
		// setBaseViewPath("_view");
		addInterceptor(new ApiActionInterceptor());
		addInterceptor(new ApiLoginInterceptor());
		add("/api/user", UserInfoController.class);
		add("/api/task", TaskInfoController.class);
		add("/api/pay", PayInfoController.class);
	}

}
